<%@ taglib uri="/WEB-INF/taglib/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/taglib/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/taglib/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/taglib/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html:form action="/skills" method="post" styleId="skill_form">
<html:hidden property="cmd" value="addSkill"/>

<p><label for="skill"><bean:message key="skills.skill"/></label>
<html:select property="skill">
	<c:forEach var="skillVar" items="${skillMap}">
		<html:option value="${skillVar.key}" key="${skillVar.value}" />
	</c:forEach>
</html:select></p>

<p><label for="grade"><bean:message key="skills.grade" /></label>
<html:select property="grade">
	<c:forEach var="varGrade" begin="1" end="5">
		<html:option value="${varGrade}" key="${varGrade}" />
	</c:forEach>
</html:select></p>

<p><label for="ranking"><bean:message key="skills.ranking" /></label>
<html:text property="ranking" size="3" maxlength="3" /></p>

<p><label for="comment"><bean:message key="skills.comment" /></label></p>
<p><html:textarea property="comment" /></p>

<p id="login_submit">
<html:submit><bean:message key="skills.continue" /></html:submit>
<html:reset><bean:message key="skills.cancel" /></html:reset>
</p>
</html:form>